package cn.com.headfree.point.service.impl;

import cn.com.headfree.entity.TPointSetOver;
import cn.com.headfree.point.dao.PointSetOverDao;
import cn.com.headfree.point.service.PointSetOverService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service("pointSetOverService")
@Transactional
public class PointSetOverServiceImpl implements PointSetOverService {

	private static final Logger log = LogManager.getLogger(PointSetOverServiceImpl.class);

	@Autowired
	private PointSetOverDao pointSetOverDao;

	@Override
	public List<TPointSetOver> findPointSetOverByYearAndOrgId(TPointSetOver pointSetOver) {
		return pointSetOverDao.findPointSetOverByYearAndOrgId(pointSetOver);
	}
}
